home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 5151 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  1.6 KB

  1. Path: news.wco.com!news
  2. From: dbirdman@tidepool.com
  3. Newsgroups: comp.os.ms-windows.programmer.win32,comp.lang.basic.visual.misc,comp.os.ms-windows.programmer.ole,comp.lang.c++
  4. Subject: Re: Calling 32-bit DLLs from 16-bit-Applications
  5. Date: Fri, 02 Feb 1996 19:52:59 GMT
  6. Organization: West Coast Online's News Server - Not responsible for content
  7. Message-ID: <4etq1s$7fc@news.wco.com>
  8. References: <4enu1u$20c_001@adv.magwien.gv.at>
  9. NNTP-Posting-Host: ts03.tidepool.com
  10. X-Newsreader: Forte Free Agent 1.0.82
  11.  
  12. stw@adv.magwien.gv.at (Wolfgang Steiner) wrote:
  13.  
  14.  
  15. >my problem is following:
  16. >I must use a 32bit-DLL from Visual Basic 3.0 (a 16bit-application) 
  17. >under WfW (the DLL also runs with Win32s) and Win95.
  18.  
  19. >Calling the DLL directly doesn't work.
  20.  
  21. >Which possibilities exist to solve this problem?
  22.  
  23. >) Writing an own DLL for conversion between 16bit and 32bit?
  24. >   If yes, from where can I get more information about that?
  25. >   Do such DLL's exist anywhere?
  26.  
  27. There is a public domain thunking .DLL called CALL32.DLL.  I have a
  28. copy available from one of my pages:
  29. http://www.redshift.com/~arcatpet/vb.html
  30.  
  31. There are also a couple of VB3 program source code samples there that
  32. use the .DLL, one for Win95 taskbar tray usage, and another for
  33. Win95/NT registry reading/writing.  Note that internal documentation
  34. for CALL32.DLL says it will only work on NT, but it was written before
  35. the WOW in Win95 became compliant with the NT version.  No problems
  36. experienced with Win95 - haven't tested with Win32s.
  37.  
  38. --
  39. Don Bradner
  40. dbirdman@redshift.com
  41. author of WWPlus, ImgViewer/16, and BirdData
  42. http://www.redshift.com/~arcatpet
  43.  
  44.